|
|
|
|
|
|
|
closing accounts and withdrawing and depositing funds? The intermediate object-oriented practitioner might say that it is and proceed to eliminate the phrase maintaining bank accounts from the list of system uses. However, the advanced practitioner might say that maintaining bank accounts could be a high-level description of the grouping of operations represented as open account, close account, withdraw funds, and deposit funds. The assessment you choose is entirely up to you; however, for the sake of simplicity, let's discard maintaining bank accounts because it's a grouping of the other verbs. Now your list looks like this: |
|
|
|
|
| DO | DON'T | | DO create a list of candidate nouns and verbs, based on key concepts in the problem statement and/or other existing requirements documents. | DON'T move beyond the problem statement until all ambiguous nouns and verbs are resolved. | | DO double-check to ensure that candidates that you decide to remove from your list are indeed unworthy. | DON'T spend more than a few hours figuring out a list of candidate classes and verbs for most applications. For all applications, DON'T spend more than four or five days total. | | DO create a journal of all candidates that you removed from your list, for future reference. | |
|
|
|
|
|
|
The use-case model captures the meaningful verbs you discovered, together with the actor and business domain classes that support each use case. A use case is an identified use by the actor of the system under development. In its simplest form, a use case is a description of one of many ways, called transactions, that a user uses your system. The user (or human actor) performs a sequence of steps (or events) from beginning to end; that is what a use case captures. A use case can be customized (or instantiated) to capture how the user executes the use case for a given scenario. |
|
|
|
|
|
|
|
|
For instance, the teller can open an account (which is a use case), but how does the teller open an account when the customer wants to open it with more than $10,000 in cash? As you might know, in this situation the teller's bank must file some paperwork with the |
|
|
|
|
|